package com.acvoli.shopping.base.mapper;

import com.acvoli.shopping.base.entity.SkuStock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * sku的库存 Mapper 接口
 * </p>
 *
 * @author jiuxiaosheng
 * @since 2020-08-23
 */
public interface SkuStockMapper extends BaseMapper<SkuStock> {

    @Select("select * from sp_sku_stock where sku_code = #{skuId}")
    List<SkuStock> selectBySkuId(String skuId);
}
